package com.kt.uokos.yimo.wx.service;

import com.kt.uokos.yimo.wx.dao.Address;

import java.util.List;

public interface AddressService {

    int addAddress(Address address);

    int updateAddress(Address address);

    void resetDefaultAddress(Integer userId);

    Address queryAddress(Integer userId, Integer id);

    List<Address> queryByUid(Integer uid);

    Address query(Integer userId, Integer id);
}
